Creating a Series object

General syntax is:

s= Series(data,indexindex)

data:Dictionary, array, scalar

Adding more than one element to the series

Use the append method to append a sub series to the bigger series

DataFrames

Creating data frames

Accessing rows and columns of a data frame

Changing name of a dataframe column

Basic DataFrame methods

Changing dtypes of a dataframe column

When analysing data apart from the ability to work with vectorized data, the ability to work with the tabular data is also required. DataFrames is the tabular datastructure used to work with data.

Creating a dataframe

From a dictionary of lists, dictionaries, series

From a list of dictionaries

Accessing rows and columns of a data frame

Basic DataFrame methods

Changing dtypes of a dataframe

Each column in a dataframe is a series object, we can extract the series object